var http = require("http");
var express = require("express");
//引入mysql
var mysql = require("mysql");
//初始化express
var app = express();
//连接mysql
var connection = mysql.createConnection({
    host: 'localhost',
    user: 'root',
    password: 'root',
    database: 'xhkcwechat'
});
connection.connect();
app.listen(8080);
